package net.caixiaomi.info.adapter;

import net.caixiaomi.info.R;
import net.caixiaomi.info.base.quickadapter.BaseQuickAdapter;
import net.caixiaomi.info.base.quickadapter.BaseViewHolder;
import net.caixiaomi.info.base.quickadapter.entity.MultiItemEntity;
import net.caixiaomi.info.model.LeagueMatchTurnListEntity;

/**
 * Created by mac on 2018/9/12.
 */

public class LeagueMatchBarAdapter extends BaseQuickAdapter<MultiItemEntity, BaseViewHolder> {
    public LeagueMatchBarAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, MultiItemEntity item) {
        LeagueMatchTurnListEntity entity= (LeagueMatchTurnListEntity) item;
        helper.setText(R.id.league_bar_tv,entity.getTurnGroupName());
    }
}
